package com.yenroc.ho.feign;

import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.stereotype.Component;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;

import java.util.Map;

@FeignClient("goods-server")
public interface GoodsFeign {

    @RequestMapping(value = "api/goods/reduce", method = RequestMethod.POST)
    Map<String, Object> goodsReduce(Map<String, Object> params) throws Exception;
}
